// src/routes/planets/planets.controller.js

const { getAllPlanets } = require('../../models/planets.model');

// 导⼊ planets 数据模型
function httpGetAllPlanets(req, res) {
 return res.status(200).json(getAllPlanets());
}

module.exports = {
 httpGetAllPlanets,
};